package com.example.consulclient8889;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
//@EnableDiscoveryClient
@EnableFeignClients  //支持openFeign    开启支持openFeign
public class ConsulClient8889Application {
    public static void main(String[] args) {
        SpringApplication.run(ConsulClient8889Application.class, args);
    }

}
